﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000235 RID: 565
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueGameAeonInfo : IMessage<ChessRogueGameAeonInfo>, IMessage, IEquatable<ChessRogueGameAeonInfo>, IDeepCloneable<ChessRogueGameAeonInfo>, IBufferMessage
	{
		// Token: 0x17000774 RID: 1908
		// (get) Token: 0x06001971 RID: 6513 RVA: 0x0004911F File Offset: 0x0004731F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueGameAeonInfo> Parser
		{
			get
			{
				return ChessRogueGameAeonInfo._parser;
			}
		}

		// Token: 0x17000775 RID: 1909
		// (get) Token: 0x06001972 RID: 6514 RVA: 0x00049126 File Offset: 0x00047326
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueGameAeonInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000776 RID: 1910
		// (get) Token: 0x06001973 RID: 6515 RVA: 0x00049138 File Offset: 0x00047338
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueGameAeonInfo.Descriptor;
			}
		}

		// Token: 0x06001974 RID: 6516 RVA: 0x0004913F File Offset: 0x0004733F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueGameAeonInfo()
		{
		}

		// Token: 0x06001975 RID: 6517 RVA: 0x00049148 File Offset: 0x00047348
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueGameAeonInfo(ChessRogueGameAeonInfo other) : this()
		{
			this.gameAeonId_ = other.gameAeonId_;
			this.jHBNOOKJIOA_ = ((other.jHBNOOKJIOA_ != null) ? other.jHBNOOKJIOA_.Clone() : null);
			this.jAEPIJOFHEC_ = other.jAEPIJOFHEC_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001976 RID: 6518 RVA: 0x000491A0 File Offset: 0x000473A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueGameAeonInfo Clone()
		{
			return new ChessRogueGameAeonInfo(this);
		}

		// Token: 0x17000777 RID: 1911
		// (get) Token: 0x06001977 RID: 6519 RVA: 0x000491A8 File Offset: 0x000473A8
		// (set) Token: 0x06001978 RID: 6520 RVA: 0x000491B0 File Offset: 0x000473B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GameAeonId
		{
			get
			{
				return this.gameAeonId_;
			}
			set
			{
				this.gameAeonId_ = value;
			}
		}

		// Token: 0x17000778 RID: 1912
		// (get) Token: 0x06001979 RID: 6521 RVA: 0x000491B9 File Offset: 0x000473B9
		// (set) Token: 0x0600197A RID: 6522 RVA: 0x000491C1 File Offset: 0x000473C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FOCKFLEPFCF JHBNOOKJIOA
		{
			get
			{
				return this.jHBNOOKJIOA_;
			}
			set
			{
				this.jHBNOOKJIOA_ = value;
			}
		}

		// Token: 0x17000779 RID: 1913
		// (get) Token: 0x0600197B RID: 6523 RVA: 0x000491CA File Offset: 0x000473CA
		// (set) Token: 0x0600197C RID: 6524 RVA: 0x000491D2 File Offset: 0x000473D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int JAEPIJOFHEC
		{
			get
			{
				return this.jAEPIJOFHEC_;
			}
			set
			{
				this.jAEPIJOFHEC_ = value;
			}
		}

		// Token: 0x0600197D RID: 6525 RVA: 0x000491DB File Offset: 0x000473DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueGameAeonInfo);
		}

		// Token: 0x0600197E RID: 6526 RVA: 0x000491EC File Offset: 0x000473EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueGameAeonInfo other)
		{
			return other != null && (other == this || (this.GameAeonId == other.GameAeonId && object.Equals(this.JHBNOOKJIOA, other.JHBNOOKJIOA) && this.JAEPIJOFHEC == other.JAEPIJOFHEC && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600197F RID: 6527 RVA: 0x0004924C File Offset: 0x0004744C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GameAeonId != 0U)
			{
				num ^= this.GameAeonId.GetHashCode();
			}
			if (this.jHBNOOKJIOA_ != null)
			{
				num ^= this.JHBNOOKJIOA.GetHashCode();
			}
			if (this.JAEPIJOFHEC != 0)
			{
				num ^= this.JAEPIJOFHEC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001980 RID: 6528 RVA: 0x000492BA File Offset: 0x000474BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001981 RID: 6529 RVA: 0x000492C2 File Offset: 0x000474C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001982 RID: 6530 RVA: 0x000492CC File Offset: 0x000474CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.JAEPIJOFHEC != 0)
			{
				output.WriteRawTag(32);
				output.WriteInt32(this.JAEPIJOFHEC);
			}
			if (this.jHBNOOKJIOA_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.JHBNOOKJIOA);
			}
			if (this.GameAeonId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.GameAeonId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001983 RID: 6531 RVA: 0x00049344 File Offset: 0x00047544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GameAeonId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GameAeonId);
			}
			if (this.jHBNOOKJIOA_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.JHBNOOKJIOA);
			}
			if (this.JAEPIJOFHEC != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.JAEPIJOFHEC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001984 RID: 6532 RVA: 0x000493B4 File Offset: 0x000475B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueGameAeonInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GameAeonId != 0U)
			{
				this.GameAeonId = other.GameAeonId;
			}
			if (other.jHBNOOKJIOA_ != null)
			{
				if (this.jHBNOOKJIOA_ == null)
				{
					this.JHBNOOKJIOA = new FOCKFLEPFCF();
				}
				this.JHBNOOKJIOA.MergeFrom(other.JHBNOOKJIOA);
			}
			if (other.JAEPIJOFHEC != 0)
			{
				this.JAEPIJOFHEC = other.JAEPIJOFHEC;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001985 RID: 6533 RVA: 0x00049430 File Offset: 0x00047630
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001986 RID: 6534 RVA: 0x0004943C File Offset: 0x0004763C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 42U)
					{
						if (num != 72U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.GameAeonId = input.ReadUInt32();
						}
					}
					else
					{
						if (this.jHBNOOKJIOA_ == null)
						{
							this.JHBNOOKJIOA = new FOCKFLEPFCF();
						}
						input.ReadMessage(this.JHBNOOKJIOA);
					}
				}
				else
				{
					this.JAEPIJOFHEC = input.ReadInt32();
				}
			}
		}

		// Token: 0x04000AA7 RID: 2727
		private static readonly MessageParser<ChessRogueGameAeonInfo> _parser = new MessageParser<ChessRogueGameAeonInfo>(() => new ChessRogueGameAeonInfo());

		// Token: 0x04000AA8 RID: 2728
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000AA9 RID: 2729
		public const int GameAeonIdFieldNumber = 9;

		// Token: 0x04000AAA RID: 2730
		private uint gameAeonId_;

		// Token: 0x04000AAB RID: 2731
		public const int JHBNOOKJIOAFieldNumber = 5;

		// Token: 0x04000AAC RID: 2732
		private FOCKFLEPFCF jHBNOOKJIOA_;

		// Token: 0x04000AAD RID: 2733
		public const int JAEPIJOFHECFieldNumber = 4;

		// Token: 0x04000AAE RID: 2734
		private int jAEPIJOFHEC_;
	}
}
